<template>
	<view class="ml-8 mr-12 mt-12 flex flex-ai-center flex-js-sb box">
		<w-image @click.native="toPage('/pages/market/market')" src="/static/bg/market-entrance.png" :width="348/2" :height="264/2"></w-image>
		<view class="flex flex-dir-col flex-js-sb h-100">
			<w-image @click.native="toPage('/pages/rank/rankListYanJin')" src="/static/bg/activity-entrance.png" :width="338/2" :height="120/2"></w-image>
			<w-image @click.native="toPage('/pages/invitation/invitation')" src="/static/bg/share-entrance.png" :width="338/2" :height="120/2"></w-image>
		</view>
	</view>
</template>

<script>
	export default {
		methods:{
			toPage(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.h-100 {
		height: 100%;
	}
	.box {
		height: 264rpx;
	}
</style>